package chapter03.example01;

class Student1{
    String name;
    void read(){
        System.out.println("大家好，我是"+name);
    }
}
public class Example01 {
    public static void main(String[] args) {
        Student1 stu1 = new Student1();
        stu1.name ="蘑菇头";
        stu1.read();
    }
}